# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

qt_internal_add_module(QmlLSPrivate
    STATIC
    INTERNAL_MODULE
    PLUGIN_TYPES qmlls
    SOURCES
        qlspcustomtypes_p.h
        qlanguageserver_p.h qlanguageserver_p.h qlanguageserver.cpp
        qqmllanguageserver_p.h qqmllanguageserver.cpp
        qworkspace.cpp qworkspace_p.h
        qtextblock_p.h qtextblock.cpp
        qtextcursor_p.h qtextcursor.cpp
        qtextdocument.cpp qtextdocument_p.h
        qqmllintsuggestions_p.h qqmllintsuggestions.cpp
        qtextsynchronization.cpp qtextsynchronization_p.h
        qqmlcompletionsupport_p.h qqmlcompletionsupport.cpp
        qqmlcodemodel_p.h qqmlcodemodel.cpp
        qqmlbasemodule_p.h
        qqmlgototypedefinitionsupport_p.h qqmlgototypedefinitionsupport.cpp
        qqmlformatting_p.h qqmlformatting.cpp
        qqmlrangeformatting_p.h qqmlrangeformatting.cpp
        qqmllsutils_p.h qqmllsutils.cpp
        qqmlfindusagessupport_p.h qqmlfindusagessupport.cpp
        qqmlgotodefinitionsupport.cpp qqmlgotodefinitionsupport_p.h
        qqmlrenamesymbolsupport_p.h qqmlrenamesymbolsupport.cpp
        qqmlcompletioncontextstrings_p.h qqmlcompletioncontextstrings.cpp
        qqmlhover_p.h qqmlhover.cpp
        qqmllsplugin_p.h
        qqmllscompletion.cpp qqmllscompletion_p.h
        qqmllscompletionplugin.cpp qqmllscompletionplugin_p.h
        qdochtmlparser_p.h qdochtmlparser.cpp
        qqmlhighlightsupport_p.h qqmlhighlightsupport.cpp
        qqmlsemantictokens_p.h qqmlsemantictokens.cpp
        qqmllshelpplugininterface_p.h qqmllshelpplugininterface.cpp
        qqmllshelputils_p.h qqmllshelputils.cpp
        qmllsmain_p.h qmllsmain.cpp

        documentSymbolSupport/qqmldocumentsymbolsupport_p.h
        documentSymbolSupport/qqmldocumentsymbolsupport.cpp
        documentSymbolSupport/documentsymbolutils_p.h
        documentSymbolSupport/documentsymbolutils.cpp

    PUBLIC_LIBRARIES
        Qt::LanguageServerPrivate
        Qt::CorePrivate
        Qt::QmlDomPrivate
        Qt::QmlCompilerPrivate
        Qt::QmlToolingSettingsPrivate
        Qt::LanguageServerPrivate
        Qt::QmlFormatPrivate
    )
